Release 10.1A: OpenEdge Development:
Progress Dynamics Administration


Calling the Utility from the DCU

To invoke the Site Data Dump and Load utilities from the DCU, you must add the following data to the last patch file used by the DCU for an upgrade:

<PatchStage Stage="PreADOLoad"> 
    <Program> 
        <FileType>p</FileType> 
        <FileName>db/icf/dfd/dcusitedatadump.p</FileName> 
        <Description>Dumping site specific data</Description> 
        <Rerunnable>yes</Rerunnable>  
        <NewDB>no</NewDB>  
        <ExistingDB>yes</ExistingDB> 
        <UpdateMandatory>yes</UpdateMandatory>  
    </Program> 
</PatchStage> 
<PatchStage Stage="PostADOLoad"> 
    <Program> 
        <FileType>p</FileType> 
        <FileName>db/icf/dfd/dcusitedataload.p</FileName> 
        <Description>Loading site specific data</Description> 
        <Rerunnable>yes</Rerunnable>  
        <NewDB>no</NewDB>  
        <ExistingDB>yes</ExistingDB> 
        <UpdateMandatory>yes</UpdateMandatory>  
    <Program> 
</PatchStage> 

The first <PatchStage> node adds the dump utility to the PreADOLoad section of the patch file. This invokes the dump utility to export the site data after the schema updates have been applied to the Repository, but before the ADOs are actually loaded.

The second <PatchStage> node adds the load utility to the PostADOLoad section of the patch file. This invokes the load utility to import the site data that was dumped before the ADOs were applied to the Repository, but after the ADOs are actually loaded.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095